package com.sxg.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import com.baomidou.mybatisplus.annotation.*;

/**
 * 商品库存
 *
 * @author 浪漫写尽歌谱 3298751420@qq.com
 * @since 1.0.0 2024-03-07
 */

@Data
@TableName("sxg_stock")
public class SxgStockEntity {
	/**
	* id
	*/
	@TableId
	private Long id;

	/**
	* 商品id
	*/
	private Long goodsId;

	/**
	* 库存数
	*/
	private Integer stock;

	/**
	* 锁定库存
	*/
	private Integer stockLocked;

}